package com.medata.repository;

import com.medata.dataObject.Category;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ：zb
 * @date ：Created in 2019/5/14 0014 10:36
 * @description：
 */

public interface CategoryRepository extends JpaRepository<Category,Integer> {
    Category findByDbid(Integer id);
    Category findByDc(String dc);
    Category findByDba(String dba);
}
